<ui:fragment xmlns="http://www.w3.org/1999/xhtml"
  xmlns:h="http://java.sun.com/jsf/html"
  xmlns:ui="http://java.sun.com/jsf/facelets">

<h:outputScript src="#{nxDevModeSet?'/tinymce/tinymce.js':'/tinymce/tinymce.min.js'}" target="#{pageJsBodyStartTarget}" />
<h:outputScript src="/tinymce/tinymce_init.js" target="#{pageJsBodyStartTarget}" />

</ui:fragment>